package com.example.demo.service;


import com.example.demo.model.User;

import java.util.List;

/**
 * @Auther: 宇宙第一帅
 * @Date: 2019/3/26 17:24
 * @Description:
 */
public interface UserService {
    Integer insert(String username, String password);
    Integer delete(String id);
    Integer update(User user);
    List<User> select();
    User idselect(String id);
    List<User> nameselect(String username);
    Integer login(String username, String password);
}
